﻿using System;
using RevitInteractiveUtility.ExternalEventManager;

namespace YJKSparseDisOfDoor.ModelLayer
{
	public class AddValueRequest : IRequest
	{
		public int RequestId
		{
			get
			{
				return 1;
			}
		}

		public void DoRequest(object parameters = null)
		{
			AddValueBean addValueBean = null;
			if (parameters is AddValueBean)
			{
				addValueBean = (parameters as AddValueBean);
			}
			Utility.AddValue(addValueBean.UseUIDoc, addValueBean.UseForm);
		}
	}
}
